package com.rc.evcharger.service.hlht;

import com.rc.evcharger.common.base.BaseService;
import com.rc.evcharger.mapper.hlht.HlhtTenantOpenPriceMapper;
import com.rc.evcharger.model.hlht.HlhtTenantOpenPrice;
import com.rc.evcharger.model.hlht.HlhtTenantOpenPriceExample;
import com.rc.evcharger.model.order.OrderInfo;

import java.math.BigDecimal;

/**
 * Create by Yang on 2021/5/29
 */
public interface HlhtTenantOpenPriceService extends BaseService<Long, HlhtTenantOpenPrice, HlhtTenantOpenPriceExample, HlhtTenantOpenPriceMapper> {

    HlhtTenantOpenPrice selectByPriceIdAndTenantCode(String tenantCode,
                                                     Long elecStationId,
                                                     String hlhtOperatorId);

    void adjustHlhtRelif(OrderInfo orderInfo);

    String selectHlhtAdjustServicePrices(OrderInfo orderInfo, String priceType);

    BigDecimal selectServicePriceAdjustValue(OrderInfo orderInfo, String memberType);


}
